package org.asiainfo.system.domain;

import lombok.Data;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户与岗位关联表  用户1-N岗位(SysUserPost)实体类
 *
 * @author dotor-ww
 * @since 2024-01-27 15:43:56
 */
@Data
@Table("sys_user_post")
public class SysUserPost implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Column(value = "user_id")
    private Long userId;
    /**
     * 岗位ID
     */
    @Column(value = "post_id")
    private Long postId;
}

